This function splits a Word variable into 16 Boolean / 16 Bit variables.
| LGF_SplitWordToBits (FC) | ||||||||
|---|---|---|---|---|---|---|---|---|
| Word | word | Ret_Val | Void | |||||
| bit15 | Bool | |||||||
| bit14 | Bool | |||||||
| bit13 | Bool | |||||||
| bit12 | Bool | |||||||
| bit11 | Bool | |||||||
| bit10 | Bool | |||||||
| bit9 | Bool | |||||||
| bit8 | Bool | |||||||
| bit7 | Bool | |||||||
| bit6 | Bool | |||||||
| bit5 | Bool | |||||||
| bit4 | Bool | |||||||
| bit3 | Bool | |||||||
| bit2 | Bool | |||||||
| bit1 | Bool | |||||||
| bit0 | Bool | |||||||
| Identifier | Data type | Description |
|---|---|---|
| word | Word | Bit sequence to be split |
| Identifier | Data type | Description |
|---|---|---|
| Ret_Val | Void | Void - Function has no return value |
| bit15 | Bool | Output Bit 15 - MSB |
| bit14 | Bool | Output Bit 14 |
| bit13 | Bool | Output Bit 13 |
| bit12 | Bool | Output Bit 12 |
| bit11 | Bool | Output Bit 11 |
| bit10 | Bool | Output Bit 10 |
| bit9 | Bool | Output Bit 9 |
| bit8 | Bool | Output Bit 8 |
| bit7 | Bool | Output Bit 7 |
| bit6 | Bool | Output Bit 6 |
| bit5 | Bool | Output Bit 5 |
| bit4 | Bool | Output Bit 4 |
| bit3 | Bool | Output Bit 3 |
| bit2 | Bool | Output Bit 2 |
| bit1 | Bool | Output Bit 1 |
| bit0 | Bool | Output Bit 0 - LSB |
| Version & Date | Change description | |
|---|---|---|
| 1.0.0 | Siemens Industry Online Support | |
| 09.02.2017 | First released version | |
| 1.0.1 | Siemens Industry Online Support | |
| 17.08.2018 | Upgrade: TIA V15 Update 2 | |
| 1.0.2 | Industry Online Support | |
| 23.11.2018 | Upgrade: TIA V15.1 | |
| 1.0.3 | Simatic Systems Support | |
| 26.07.2019 | Standard header, style guide | |
| 1.0.4 | Simatic Systems Support | |
| 30.07.2019 | add ENO handling | |
| 3.0.0 | Simatic Systems Support | |
| 23.04.2020 | Set version to V3.0.0 harmonize the version of the whole library | |
| 3.0.1 | Simatic Systems Support | |
| 22.02.2021 | Insert documentation | |